<ion-view class="MODetail-view" view-title="批次选择">
    <ion-header-bar  class="bar-subheader">
        <im-pull-right>
            <im-search class="batchbind-search-item" placeholder="请输入批次、料号进行搜索" on-search="search(queryStr)"></im-search>
        </im-pull-right>
    </ion-header-bar>
    <ion-content scroll="false">
        <div class="im-grid">
            <div class="im-grid-header">
                <div class="row im-grid-record">
                    <div class="col im-record-column">料号</div>
                    <div class="col im-record-column">单号</div>
                    <div class="col im-record-column">批次</div>
                    <div class="col im-record-column">完工时间</div>
                </div>
            </div>
            <div class="im-grid-body">
                <ion-scroll scrollbar-y="false">
                    <div class="im-grid-row" collection-repeat="record in data.records" ng-click="selectObj(record)">
                        <div class="row im-grid-record">
                            <div class="col im-record-column">{{record.ItemMaster.Code}}</div>
                            <div class="col im-record-column">{{record.Code}}</div>
                            <div class="col im-record-column">{{record.LotNumber}}</div>
                            <div class="col im-record-column">{{record.CompleteTime}}</div>
                        </div>
                    </div>
                </ion-scroll>
            </div>
        </div>
    </ion-content>
</ion-view>
